
<%--
  Created by IntelliJ IDEA.
  User: venn
  Date: 12/19/2016
  Time: 10:40 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
	String path = request.getContextPath();
	String serverPath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/";
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
	<title>Venn'T</title>
	<meta name="keywords" content="supershopui" />
	<meta name="description" content="supershopui" />
	<link href="<%=basePath%>content/ui/css/layout.css" rel="stylesheet" />
	<link href="<%=basePath%>content/ui/css/login.css" rel="stylesheet"/>
	<link >
	<link href="<%=basePath%>favicon.ico" rel="shortcut icon">
	<style>
		.ibar {
			display: none;
		}
	</style>
</head>

<body class="login-bg">
<div class="main ">
	<!--登录-->
	<div class="login-dom login-max">
		<div class="logo text-center">
			<a href="#">
				<img src="<%=basePath%>content/ui/img/logo.png" width="180px" height="180px" />
			</a>
		</div>
		<div class="login container " id="login">
			<p class="text-big text-center logo-color">
				Use Code, Change Life
			</p>
<%--
			<p class="text-center margin-small-top logo-color text-small">
				venntowu
			</p>--%>
			<form class="login-form" action="<%=basePath%>user/login.do" method="post" autocomplete="off">
				<div class="login-box border text-small" id="box">
					<div class="name border-bottom">
						<input type="text" placeholder="mobile/email" id="username" name="username" datatype="*" nullmsg="Please Full Your Account" />
					</div>
					<div class="pwd">
						<input type="password" placeholder="password" datatype="*" id="password" name="password" nullmsg="Please Full Your Password" />
					</div>
				</div>
				<input type="submit" class="btn text-center login-btn" value="Login" />
			</form>
			<div class="forget">

				<a href="#" class="forget-pwd text-small fl"> Forget Password ?</a><a href="#" class="forget-new text-small fr" id="forget-new">Sign Up</a>
			</div>
		</div>
	</div>
	<div class="footer text-center text-small ie">
		Copyright 2013-2016 版权所有 @venn 2015-2018      <a href="#" target="_blank">粤ICP备xxxxxxxx号-1</a>
		<span class="margin-left margin-right">|</span>
		<script src="#" language="JavaScript"></script>
	</div>
	<div class="popupDom">
		<div class="popup text-default">
		</div>
	</div>
</div>
</body>

<script src="<%=basePath%>/content/ui/global/jQuery/jquery.min.js"></script>
<script type="text/javascript">
	function popup_msg(msg) {
		$(".popup").html("" + msg + "");
		$(".popupDom").animate({
			"top": "0px"
		}, 400);
		setTimeout(function () {
			$(".popupDom").animate({
				"top": "-40px"
			}, 400);
		}, 2000);
	}

	/*动画（注册）*/
	$(document).ready(function (e) {
		// $("input[name=username]").focus();
		// $('.login-form').Validform({
		// 	ajaxPost: true,
		// 	tiptype: function(msg) {
		// 		if (msg) popup_msg('' + msg + '');
		// 	},
		// 	callback: function(ret) {
		// 		popup_msg('' + ret.info + '');
		// 		if (ret.status == 1) {
		// 			if (ret.uc_user_synlogin) {
		// 				$("body").append(ret.uc_user_synlogin);
		// 			}
		// 			setTimeout("window.location='" + ret.url + "'", 2000);
		// 		}
		// 	}
		// })

	});
</script>
</html>

